import request from "@/utils/request"

export const getAllApi = (targetWarehouseId, status, pageNum, pageSize) => {
  return request.get(`/stocktaking/info/list?targetWarehouseId=${targetWarehouseId}&status=${status}&pageNum=${pageNum}&pageSize=${pageSize}`)
}
export const addApi = (data) => {
  return request.post(`/stocktaking/info/add`, data)
}
export const updateApi = (data) => {
  return request.put(`/stocktaking/info/update`, data)
}